package com.ahui.util;

import java.util.List;

public class StringListUtils {

    public static boolean strContainAny(String str, List<String> keywords) {
        return keywords.stream().anyMatch(str::contains);
    }

    public static boolean strNotContainAny(String str, List<String> keywords) {
        return keywords.stream().noneMatch(str::contains);
    }
}